package com.quanyan.comment.mapper;

import com.quanyan.comment.model.po.TbCommentTagSum;
import com.quanyan.comment.model.po.TbCommentTagUser;
import com.quanyan.comment.response.LableBaseInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2016/12/13.
 */
public interface CommentTagUserMapper {

    void batchSave(@Param("list")List<TbCommentTagUser> list);

    void batchUpdate(@Param("list")List<Integer> list);


    void batchUpdateTagSum(@Param("list") List<Integer> list);


    void batchSaveTagSum(@Param("list")List<TbCommentTagSum> list);

    List<LableBaseInfo> randTag(@Param("pageSize") Integer pageSize);
}
